Repository navigation
Analytics: failures show their step and retries, and runs waiting on a person - #388
Merged
Merged
Conversation
…a person The Reliability tab's failures table gets a Step column (where most of the group failed) and a Retried column (how many a person retried), and a row summing the reasons past the ones listed instead of dropping them. Recently failed names the step and says when a person retried the run. A new "Waiting on a person" table groups runs that stopped for someone by what they wait for, and calls out waits that name nothing with what to do. The overview's Failed runs tile says how many failures were retried.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Reliability tab now shows what the server counts since CoderHelm/coderhelm-platform#619: failures a person retried, the step each group of failures happened in, the reasons past the first eight, and the runs that stopped for a person, by what they wait for.
Before, a failure a person retried disappeared from the tab, so a team saw "No failed runs" for a week in which three runs had failed, and runs waiting on someone (often more than the failures) weren't on the tab at all.
Changes
dashboard/src/app/analytics/page.tsxfailures_more).waiting): what each group waits for, with "Nothing recorded" shown as a wait to act on (open the run, then retry or close it).dashboard/src/lib/api.ts: the new optional fields; older servers leave them out and the tab shows dashes.Verification
npx tsc --noEmit,node scripts/ui-lint.mjs,node scripts/no-hosted-links.mjs.npx playwright test e2e/analytics.spec.ts --project=chromium: 24 passed, including the new "failures show their step and retries, the rest summed, and what waiting runs wait for", which fails on the old page (no Step column, no summed row, no waiting table, no retried note).